home *** CD-ROM | disk | FTP | other *** search
-
- gcc 2.8.1 for Atari
- -------------------
-
- What do you need for recompiling gcc on Atari running MiNT?
-
- - a MiNT system that's powerfull enough to run GNU configure scripts
- - 32 MB minix hard disc space
- - much time (on TT with 24 MB RAM min. 4 hours/stage :-)
-
- Steps for recompiling:
-
- - apply the diffs
-
- - copy the files config/m68k/* to the direktory gcc-2.8.1/config/m68k
-
- - run configure:
- for native compiler running on TOS/MiNT/MagiC
- configure --prefix=/usr
-
- or for a cross compiler running e.g. on Linux68k
- configure --target=m68k-atari-mint
-
- - After configure had create some new headers and the makefiles you can
- start make to compiling the first stage (2.8.1 compiled by old version)
- make LANGUAGES="c"
-
- Now you use the new C compiler for making the second stage (C and C++)
- (2.8.1 compiled by 2.8.1):
- make stage1
- make make CC="stage1/xgcc -Bstage1/" LANGUAGES="c c++"
-
- After stage2 has finished you can install the new compiler by hand
- (I haven't test `make install`)
- xgcc the new c driver (gcc.ttp)
- cc1 the new c compiler (cc1.ttp)
- g++ the new c++ driver (g++.ttp)
- cc1plus the new c++ compiler (cc1plus.ttp)
- cpp the new preprocessor (cpp.ttp)
-
- Christian Felsch
- felsch@tu-harburg.de
- May 1998
-